Comments (3)
I like this idea and have never considered it before. I haven't had a ton of time to work on this project lately, but when i get some time i'd love to take a crack at it. I've added the help wanted
tag to it, so anyone reading this in the future should feel free to try their hand at implementing it as well.
from sqlitex.
Hi,
I'm glad that you like the idea!
I will give it a try in the near future too, but I was thinking of writing a complete alternative server module instead of modifying the current one. I am not sure I would not break the current one.
from sqlitex.
I made a proof of concept here with a simple statement cache for well-known queries.
It works in transactions too. Though I changed a little bit the way transactions work in my version, but that should not make a a difference if you want to implement the same thing in the current server implementation. It was because at some point I had a throw
in some transaction, and I discovered that throws make a genserver's handle_call return early. I was not aware of that and it took me some time to figure that out.
from sqlitex.
Related Issues (20)
- MatchErrors HOT 2
- Start Fixing Dogma Violations HOT 3
- do not parse 2015-09-28 16:53:52 as date time HOT 2
- Switch to use the new `with` syntax HOT 2
- How do I insert a blob? Is it possible? HOT 8
- issue when fetching several records HOT 8
- tests failing locally HOT 3
- How to Batch Insert HOT 9
- There are warnings compiling under Elixir 1.5.x HOT 1
- License? HOT 2
- Bind parameters by their position numbers HOT 9
- Elixir 1.8 + Nerves issues HOT 1
- New Hex release HOT 2
- Sqlitex.exec() accepts bind: option but nothing is bound? HOT 4
- Document/Fix race condition when using Sqlitex.Server with transactions HOT 3
- Instructions on how to contibute HOT 1
- Why is the connection type having binary as the third element of its tuple? HOT 2
- Support shutdown schedule for the Sqlitex.Server process after inactivity HOT 1
- Use esqlite with cflag fix for cross compiling and building on host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlitex.