Topic of previous post was StashTable, a thread-safe in-memory key-value store. 
I have added more tests to it to ensure soundness of data structure. StashTable 
will be available at Nimble central repository as soon as nimble gate-keepers 
will accept my pull request.

But in-memory data is usually not enough. Today I'm happy to announce 
SQLiteral: a multithreading SQLite API for Nim, at 
[https://github.com/olliNiinivaara/SQLiteral](https://github.com/olliNiinivaara/SQLiteral)

It's a tasteful mixture of Nim code, SQLite pragmas and other ingredients to 
combine following features "in parallel":

  * Parallel access, using WAL mode
  * Avoids possibility of SQLITE_BUSY
  * Supports optimize and vacuum
  * Prepared statements, prepared for you at open and finalized at close
  * All statements can be logged with parameters substituted
  * Bind statically to sqlite3.c of your choice
  * Proper typing, as seen in tiny_sqlite by gulpf
  * And more...



In forthcoming part 3, the topic will be a multithreading integrated HTTP/1.1 + 
WebSocket v13 server, implemented on top of the new Weave runtime. Stay tuned!

Reply via email to