Comments (4)
I get it,thank you :)
from tile38.
Before loading the AOF file in tile38, is there a relatively conservative and simple method to evaluate how much memory tile38 will use ?
Every object comprises of at least:
- Object Header: 16-bytes
- R-Tree Pointer: 16-bytes
Then there's the actual data such as:
- Point Object (Lat/Lon): 16-bytes
- LineString: (Point*N)
- Polygon: (LineString*N)
- Etc..
So the smallest object is a Point which will take at least 48 bytes to store.
In addition, in order to reduce memory fragmentation, do you have any suggestion on the design of GeoJSON ?
Tile38 stores GeoJSON in a binary format, and any variation of the same fields are stored identically. For example:
{
"type": "Point",
"coordinates": [10,10]
}
and
{"coordinates": [10,10],"type":"Point"}
are the same as far as Tile38 is concerned. Both formats use the same amount of data.
I hope this information helps, and let me know if you have any additional questions.
from tile38.
I would also like to add that you can always check the memory usage with the SERVER
command.
from tile38.
One more thing. If you are on a low-memory system, you can compile for 32-bits and save some memory.
From the command line:
$ GOARCH=386 make
The pointer sizes will be 32bits and this will save about 8 bytes per object.
from tile38.
Related Issues (20)
- SETCHAN with FENCE DETECT inside,outside doesn't work as expected HOT 5
- WHEREIN is not returning the correct count when field key is mixed case
- Add support for 'none' authentication for kafka while still allowing SSL HOT 1
- Wrong region name parsing for AWS China
- Tile38 Nearby Does not produce results as expected HOT 5
- Sysdig found high severity vulnerabilities in the dependencies of release 1.32.0 HOT 1
- How to set up a speed limit fence, where speed is within a certain range HOT 3
- Panic in tile38 causing server crash due to bug in geojson HOT 2
- Ui HOT 3
- tile38_expired_keys is never returned
- RESP response encodes all field values as strings, JSON retains types of fields HOT 9
- WHERE clause with nested properties not working HOT 1
- Different geofences listening to the same collection (but with a WHERE filter) emit an event at the same time
- Tile38 does not support EXISTS command. HOT 2
- FSET does not have a FGET counterpoint HOT 2
- 使用tile
- 使用tile38如何判断点是否在库中存储的区域对象中
- How can I tell if a point is in a region with tile38 HOT 2
- How to execute INTERSECTS command through StatefulRedisConnection in Spring
- GOPATH / GOROOT HOT 2
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 tile38.