How can I access QuestDB Web Console when running embedded? - questdb

I using QuestDB embedded in my Java application. Is there any way my application can also start a web server to serve Web Console so that I can query the data my application ingests? There seem to be no documentation about this.

Related

Not able to invoke web services using web app which was deployed in Azure

I have a deployed html file by creating web app in Azure and hosted using FTP tool. when I hit the run in intellij, able to submit the values using html file and able to hit the web services. but am not able to hit the web services when i trying to deploy and run the nodes in command prompt.
It looks like your web app does not have the proper url of your web server.
Feel free to see an example of how we had build a front end web app at: https://github.com/corda/samples-kotlin/tree/master/Advanced/auction-cordapp/client/src/main/resources
The front-end is simple angular web app.

URL after hosting web application on cloud

I was playing with google cloud just for the sake of learning cloud and web applications.
I made an application using
1)Front end (html,CSS, javascript)
2)Database( sqlite)
3)Middleware(Python Flask)
I have the application running on my local system .I have a flask service running to collect and write data to my DB, an API interface(using flask) to read from the DB and the web application that uses this API to display graphs.
Now I want to host this in google cloud. If i do that I will have the web application running on a port. But will i be able to access that from outside. Is there any way to do that?
That's definitely possible, looks like you should give Google App Engine a try

Azure web app service Django server log

I have been working with Azure's web app service using Resource Manager to deploy a Django app. It has been working in fits and starts. I really like the auto-deployment from GitHub but I have been frustrated by the ability to work with the underlying machine. There is a "Console" tool through the Azure portal but it has limited functionality and when there is an internal server error on my app, I can't find the server output log.
Can someone share insight into how to view the server logs?
Azure web apps have a number of logs however, the applications logs provided out of the box only support Asp.Net applications. That being said there is an article about django on web apps and how to store and view its logs here.
What'll you'll have to do, as described in the link, is to setup the django application to store its logs on the azure file system. Another option is to setup the django application to email the devs but the better option is to store the logs on the file system properly.

AppHarbor: Communication between Web App and Background Worker

I have two questions, but let me set the stage first:
Say you have a typical scenario where you have a web application and a mid-tier web service.
The web application receives a request from the user, queries the web service and sends a response to the user.
If the web service and the web application were running on the same machine, the web app would go through localhost:port to access the web service.
(I do understand that AppHarbor web and background workers are not running on traditional machines but it's easier to use that metaphor)
To make this slightly complex, the web service is actually a console app running a HTTP server and thus acting as a web service, let's call it webservice.exe.
My first question is: will AppHarbor run webservice.exe on the same machine as the web application and so enable the web application to access the web service via localhost:port.
If not, will the machine name where the console app is running always be static (which allows web app to reliably access machinename:port). If so, will the webservice.exe machine allow incoming connections from the web application machine?
My second question is if both apps run on the same machine (the localhost scenario), will external users be able to access webservice.exe via myapp.apphb.com:port ?
Thanks!!
AppHarbor does not currently support background workers (which is where your console application would be running) attaching to ports.
If you instead decide to host the service in an ASP.NET application and run it in a web worker on AppHarbor (as a normal web site), then it would be available at myawesomeapplication.apphb.com or using a custom hostname if you decide to add one.
If the service-abstraction is not needed, you might also want to just do away with it and fold it into the main web site.

Could Web server and Application server be developed separately?

My friend has developed a recommend system in C++, now we want to make a web information system based on his work. As we both do not have no Web technology knowledge, I have some questions:
If we want to develop a web site which based on this recommend system, we should implement the recommend system in the application server and make a web server that could return the pages, right?
Then what web server we should use or use what technique to develop a web server to call the function in the recommend system? How the web server communicates with the application server?
Some web frameworks, such as Django, does it act as web server or application server or it is both?
As we have so much basic questions, do you have some books or website to recommend?
You can think of your C++ app as a service that your Django app can execute to return values to your users. You could easily execute any application on the same server as Django and capture the response or you could create a thin HTTP API and put your C++ app on its own server and call it by HTTP from your Django app to make requests for your users.
https://www.djangoproject.com/ is a great place to start.