Comments (8)
I have no preferences here, and only limited prior experience with Heroku.
from diffeqonlineserver.
A wild production server appears! Right now you can go to http://app.juliadiffeq.org/ode and paste http://secure-lake-43427.herokuapp.com/
into the "API URL" box. I'm going to clean up a few things and possibly rename the heroku app and then have the production front-end always use the production back-end, and only have the API box appear in dev builds.
from diffeqonlineserver.
Actually http://app.juliadiffeq.org/ode should now just work -- currently takes about 7-8 sec to solve the sample equation. There's a lot more work to do and lots of polishing after that, but all the necessary parts are in-place and working!
from diffeqonlineserver.
Hmm, why does it take so long? Is there a way to measure what it is? That equation should take microseconds, so I wonder: is it passing the JSON plot back, or passing the JSON for the solver information (t,u)?
from diffeqonlineserver.
If I understand how Heroku works correctly (looking at this), it's running julia mux_server.jl
every time a request comes in, and we incur the JIT startup cost on every single request. (This is the cost of using Heroku, although it comes with the benefit of easy scaling). I started looking at precompiling but setting it up (and making sure that every dependency is also precompiled?) sounds pretty hard.
from diffeqonlineserver.
We can setup the packages we want to be built into the sysimg.
from diffeqonlineserver.
http://docs.julialang.org/en/stable/devdocs/sysimg/
from diffeqonlineserver.
Ah nice -- I'm not sure how the CPU target bit will work with this running in the docker container, but I'll give it a shot and see if I can get it to work.
from diffeqonlineserver.
Related Issues (8)
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 diffeqonlineserver.