Re: [dev-servo] IndexDB project

2015-12-14 Thread Paul Rouget
On Tue, Dec 15, 2015 at 6:56 AM, Robert O'Callahan wrote: > On Tue, Dec 15, 2015 at 12:33 AM, Paul Rouget wrote: >> >> On Tue, Dec 15, 2015 at 5:27 AM, Manish Goregaokar >> wrote: >> > On Tue, Dec 15, 2015 at 9:39 AM, Robert O'Callahan >> > >> > wrote: >> > >> >> >> >> FWIW I think this project

Re: [dev-servo] IndexDB project

2015-12-14 Thread Robert O'Callahan
On Tue, Dec 15, 2015 at 12:33 AM, Paul Rouget wrote: > On Tue, Dec 15, 2015 at 5:27 AM, Manish Goregaokar > wrote: > > On Tue, Dec 15, 2015 at 9:39 AM, Robert O'Callahan > > > wrote: > > > >> > >> FWIW I think this project falls into the category of "things we know > will > >> work in Servo". I

Re: [dev-servo] IndexDB project

2015-12-14 Thread Manish Goregaokar
More or less. If you're going to pick leveldb it would be better to use rocksdb (which is a leveldb fork, IIRC) since there is a Rust wrapper that's in use by others. -Manish Goregaokar On Tue, Dec 15, 2015 at 11:03 AM, Shing Lyu wrote: > Thank you guys. > > So from what I've learn so far, I sh

Re: [dev-servo] IndexDB project

2015-12-14 Thread Paul Rouget
On Tue, Dec 15, 2015 at 5:27 AM, Manish Goregaokar wrote: > On Tue, Dec 15, 2015 at 9:39 AM, Robert O'Callahan > wrote: > >> >> FWIW I think this project falls into the category of "things we know will >> work in Servo". It might be more valuable to do a project from which we >> would learn more.

Re: [dev-servo] IndexDB project

2015-12-14 Thread Shing Lyu
Thank you guys. So from what I've learn so far, I should start with 1. Choose a backend and write a Rust wrapper for it (options: LevelDB or SQLite4) 2. Talk to Gecko guys about how to implement quota management framewok Am I understanding it correctly? Regards, Shing 2015-12-15 12:27 GMT+08:00

Re: [dev-servo] IndexDB project

2015-12-14 Thread Manish Goregaokar
On Tue, Dec 15, 2015 at 9:39 AM, Robert O'Callahan wrote: > > FWIW I think this project falls into the category of "things we know will > work in Servo". It might be more valuable to do a project from which we > would learn more. We should probably start implementing necessary things too, not o

Re: [dev-servo] IndexDB project

2015-12-14 Thread Robert O'Callahan
Jan Varga and others are currently reworking all client-side persistent storage APIs in Gecko so they can all use common quota management. You might want a similar framework in Servo now so you don't have to do a lot of expensive work later. You should talk to him or Kyle Huey or others on the Gec

Re: [dev-servo] IndexDB project

2015-12-14 Thread Manish Goregaokar
Apparently SQlite4 has a good kv store included, but nox knows it better and understands the justification. I think firefox uses sqlite (3?); it uses sqlite for everything. -Manish Goregaokar On Tue, Dec 15, 2015 at 9:12 AM, Jack Moffitt wrote: > Why would we use a nearly full sql engine for

Re: [dev-servo] IndexDB project

2015-12-14 Thread Jack Moffitt
Why would we use a nearly full sql engine for a key value store? What do the other browsers use to back IndexDB? jack. On Mon, Dec 14, 2015 at 8:31 PM, Manish Goregaokar wrote: > We were thinking of SQLite4, however there seem to be people using > rocksdb+rust in production (https://github.com/s

Re: [dev-servo] IndexDB project

2015-12-14 Thread Manish Goregaokar
We were thinking of SQLite4, however there seem to be people using rocksdb+rust in production (https://github.com/spacejam/rust-rocksdb?) -Manish Goregaokar On Tue, Dec 15, 2015 at 8:57 AM, Jack Moffitt wrote: > Probably the easiest wa

Re: [dev-servo] IndexDB project

2015-12-14 Thread Jack Moffitt
Probably the easiest way to start is to get the database backend sorted. We've talked about using LevelDB for this in the past, but I'm not sure if there is an existing Rust wrapper for that or not. If not, creating one might be a good way to get started. jack. On Mon, Dec 14, 2015 at 8:20 PM, Sh

[dev-servo] IndexDB project

2015-12-14 Thread Shing Lyu
Hi, I'm Shing from the Mozilla Taipei office. I asked Lars for interesting but not urgent (don't want to block critical feature) during the Mozlando workweek, he suggest me to look into IndexDB support. I wonder if anyone can help me with * Split it into smaller work items * Point me to previous

[dev-servo] Servo meeting canceled today

2015-12-14 Thread Jack Moffitt
Our heads being full of Mozlando meetings, I think there is little new to talk about. I've canceled today's meeting, but ping in IRC if there is anything that can't wait until next week. jack. ___ dev-servo mailing list dev-servo@lists.mozilla.org https: