where I can deploy ml algorithm without time out? [closed] - heroku

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I used Heroku to deploy ml algorithm with Pytorch but when I sent request to app to train model with 100 epochs then I got this
error
at=error code=H12 desc="Request Timeout" method=POST path="/train"
I searched about request time out and I find that the limit to request time
from Heroku is 30 sec
What's the solution of time out problem and is there an platform for training model without time out?

Model training can be an expensive and lengthy operation that can take from minutes to hours (depending on context and amount of data), so it is likely that you will have a request timeout on other providers too.
The solution is to make the model train a background task:
create a worker Dyno which schedule the model training (ie everyday at h11:00)
OR
keep the web Dyno but make sure the /train request spawns a background thread (hence the web request completes quickly and the training happens in background)

Related

Suggestions For Dashboard Software For Manufacturing KPIs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 21 hours ago.
Improve this question
Users to login via web browser to view dashboard showing manufacturing KPIs - graphs, gauges, charts for historical data.
Data source will be in the format of a csv file which is to be appended to some sort of database in the web based application.
I'm hoping I can get an off-the-shelf application that can be configured, user friendly so non IT users can create their own dashboards (drag & drop) once they are trained.
The front-end will have to be web-based to allow external users from other companies to login via a web-browser to our website to see their dashboard. Our company provides manufacturing machines and this will allow clients to login and see how the manufacturing process is going. I am looking to find candidates for evaluation.

What exactly is Hawtio? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I don't understand what exactly Hawtio does.
If you could give an introduction to Hawtio:
What exactly is it?
What added value does it gives me as a Camel\ Spring developer?
Please explain what Hawtio is.
Hawtio a monitoring web console for java application. its popular usage is with apache camel . It visualizes the data it receives from jmx. Jolokia takes over the process of getting the data from jmx and acts as a new bridge. With Hawtio you can do the following items and much more.
How many times has the route worked (live reload)?
Show Jvm parameters
Heap objects and count
How many errors were received?
How many transactions were successful?
Eip of java code
Changing log level
Changing camel component attribütes
etc

Is Youtube API licensed? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
We are planning to use youtube APIs in one of our applications. Is there any pricing applicable for consuming Youtube APIs ? Any there any kinds of limits that developer need to be aware ?
Please point to any documentation resources.
Thanks
MAdhu
For the most part the YouTube api is free to use. You should be aware of the usage quota and calculate what you need Quota cost The YouTube API is cost based so each request you make has a cost against your quota.
You can request an extension to your quota but i suggest you do it early as it can take time to get a quota extension.
You have not mentioned what your app is doing but if you are using Oauth2 in order to access private user data your app will need to go though the verification process verification Until your app has been verified you may only have 100 users authorize your application, and any videos uploaded by your application will be set to private.
Start the verification process early it can take a lot of time.

Simple Golang GraphQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does a simple & working "Hello World!" GraphQL server code in Go exist?
There is a deficiency in tutorials concerning that topic, especially because graphql-go/graphql is currently a work-in-progress.
I've actually spent a bit of time this weekend creating a golang graphql server for a presentation upcoming this week, that has nothing to do with golang graphql. I don't know any golang, and never put together a server, I also threw in Neo4j, it's been an adventure, the hello world example is the following;
https://github.com/graphql-go/graphql/blob/master/examples/hello-world/main.go
In addition I used graphql-go/handler to create an endpoint;
https://github.com/graphql-go/handler
Finally added graphiql in order to check out my queries;
https://github.com/mnmtanish/go-graphiql
I started with getting the hello world example to be visible in go-graphiql, but using the handler to expose the schema.
The most stared project is https://github.com/graphql-go/graphql but it seems to be not actively developed.
I've been keeping an eye to this implementation that looks promising:https://github.com/neelance/graphql-go
a new repo that I still need to check: https://github.com/playlyfe/go-graphql

Amazon cloud web application performance testing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am struggling to get through performance testing which are amazon cloud based web application. we are going to launch our application in amazon cloud soon and we are trying to run the performance / load testing. Basically, i am trying to get result of our application service request / response time when 10 / 25/ 100 / 225 users using it simultaneously and network load test. What kind of approach do i need to follow since i was in to manual testing so far! is there any tool, where i can run and monitor my service request / response time.
Thanks in advance!
Surya
JMeter is a common choice for this: http://jmeter.apache.org
You can either set it up to test from one or more local machines or you can actually run it on AWS itself - there's a nice summary here: https://stackoverflow.com/a/16619103/334402
I have done both in the past and there are pros and cons to both - basically running it from machines over regular internet connections means you are using 'real' access networks, as AWS will generally have dedicated networking between its Data Centers.
On the other hand, running JMeter in AWS allows you set it up to test from different regions and probably will allow you generate a much higher load (unless you have lots of real machines at your disposal).

Resources