3 ms·
Omg so does that mean plv8 (v8 inside Postgres) isn't caching the jit'd js functions that might be executed thousands of times a day??????!
by azinman2 12y ago
Omg so does that mean plv8 (v8 inside Postgres) isn't caching the jit'd js functions that might be executed thousands of times a day??????!
- hashseed 12y agoNot sure. If it spins up a new V8 instance every time, then no. But I don't think that happens. It probably keeps a V8 instance around, so in-memory code caching should already work. Edit: looking at the plv8 code, it doesn't seem to create a new Isolate for every request. So I think for the same instance of PostgreSQL the in-memory cache should also hit.