abp backgroundjobmanager and load balancing [closed] - load-balancing

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
we are using abp framework for our enterprise application.
i am wondering if it's neccessary to replace the default backgrundjob manager when using load balancing for the appservice in an azure environment?
would the hangfire integration of abp solve that issue?
Thank you and best regards

ABP Framework's default background job manager can only run in a single instance. If that's enough for you, then you can disable background job processing in all instances, except one of them. Or you can create a dedicated application (a simple console app, for example) to process the background jobs while others add jobs to the queue.
If you have too many background jobs and want to process them concurrently, you can easily replace with HangFire. Then refer to HangFire documentation to setup a clustered environment. So, yes it should solve the issue.

Related

Design patterns for hosting multi rest apis on kubernetes [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 15 days ago.
Improve this question
Looking for some suggestions on designing the multi rest api hosted application on kubernetes.
Would like to understand how should I deploy multi container apps to serve different api requests from end user. As I am new to K8 want to check from you to get ideas around basic patterns for running these containers within one pod or multi pods or nodes needed.

How to make email alert to be sent when a openstack instance is down? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Does openstack have any feature to achieve this scenario:
Check the status of openstack instances (user is able to ssh and work or not).
Get the set of instances IP which is not working.
Send an email to a user with list of not working instances.
If this is not available, any alternatives?.
Went through https://wiki.openstack.org/wiki/Operations/Tools. but could not find the one which suits my scenario.
For that you can install elasticsearch nodes on your instances, and thanks to plugins like heartbeat (https://www.elastic.co/beats/heartbeat), you can have an overview of the availability of your servers, and their access.
Monitoring is the best practice for having this kind of information, the ELK (Elasticsearch Logstash Kibana) suite does it very well for free and allows you to alert (by email or other) if one of your instances no longer responds.
You can use Mistral project for such used case , Set a cloud cron for it.

Cloud Code vs. Express [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I need to use a server for portions of my app. Since I'm using Express for this what is the benefit for using Cloud Code for aspects of my app that could be hosted on the server or in Parse Cloud Code?
You can use both the server and cloud code for custom functions but each have there own purpose.
Cloud Code (the main.js file) is really more so for having custom API endpoints that have logic when they are called. Like changing one field for table changes another field.
The server part (all of the other files) is really for just hosing a website that uses express stuff and renders all your web pages using "ejs" or "jade".
I'm a bit new to parse but I hope this answers your question.
Using Cloud Code for our mobile app is very useful now days.
there are following things that must know about Cloud Code
1.If your app is large then the code can be save on cloud so that our app take less time to load

Monitoring all the information of users using mvc 4 web api [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a REST service based on mvc 4 and web api. I need to monitor all the users who are using my service (eg: user name , organization that user belongs to, how many hours he is accessing service and so). can you please provide best architecture for this. what is the best way to doing this?
You can use a custom HttpMessageHandler for doing authentication and track all the information you need about the user in a database. You will need some background processing of that data and doing some statistics about the usage of the API. About the message handler, a good start is the one provided in Thinktecture.IdentityModel library (You can customize it),
http://leastprivilege.com/2013/04/22/asp-net-web-api-security-the-thinktecture-identitymodel-authenticationhandler/

How to integrate WebWorks ePublisher with a Continuous Integration server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Our documentation is built manually using the WebWorks ePublisher. We would like to have it built automatically on our CI server.
For that there should be a non interactive command line alternative to the ePublisher GUI.
Does anyone know anything about it?
I think you should look into the WebWorks ePublisher component called AutoMap.
From What Is ePublisher AutoMap?:
ePublisher AutoMap is the automation tool that enables you to automate the content transformation process, batch processing, and integration with content management or version control systems. This component lets you schedule ePublisher projects. For example, you can schedule the output generation to occur overnight. Then, when you arrive the next morning, your transformed content is ready for you. You can also automatically generate and deploy deliverables to meet your specific needs, such as updating Web site content based on updated source documents. You can automatically create ePublisher projects and generate output without manually opening ePublisher or your source documents.
More details here: Scheduling and Integrating Processes with AutoMap.