Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5930393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:32:58+00:00 2026-05-22T14:32:58+00:00

I am now trying to develop the part of my server which will handle

  • 0

I am now trying to develop the part of my server which will handle sending notifications to APN (then to iphones).
In fact, it is a dedicated service running on my server. Every 15 minutes, this service looks in my MySQL database for notifications to send.

I have deal with all the certificate part, and I am trying to define the best strategy to implement that.
Ì plan to use :

  • A cron job which fires a Java server
  • A java server using java-apns

I have two questions regarding that :

  • Do you have advice regarding what I plan to do ?
  • As every 15 minutes I will send around 1 000 notifications (1x to 1 000 phones), is there a special way to hande this overload ?

Thanks for your help !

Kheraud

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:32:58+00:00Added an answer on May 22, 2026 at 2:32 pm

    I’m not sure why you want to run this job every 15 minutes. Is that time interval significant to your app, or is it some arbitrary number? In the rest of my answer I’m assuming the latter.

    You need to create a background process that keeps a permanent connection open to APNS. This is better than running your program from a cron job because setting up the SSL connection over and over is very expensive. (Although if you really want to stick to the 15 minute thing, I suppose running from a cron job is not so bad. Just don’t open and close a connection for every notification you want to send out.)

    Instead of sending 1000 notifications every 15 minutes, send 100 notifications every minute. Or rather, send a few notifications every second.

    If you have a lot of notifications to send, you can open multiple connections to APNS for the same app (but no more than 15).

    For extreme efficiency, you can bundle multiple notifications in each packet you send to APNS (for example using Nagle’s algorithm).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to develop an application in android in which users will be
i usually develop for iPhone. But now trying to make a pong game in
I'm trying to develop a pretty simple (for now) wrapper class around int ,
I'm now trying to create a xml-rpc server with the CodeIgniter Framework. <?php $this->load->library('xmlrpc');
Im trying to develop a friends module to get more aquainted with django. Now
I'm trying to develop an AddIn - or rather, just a proof-of-concept for now,
I am trying to develop a web application that will do the following: Collect
I need to develop a small CMS using PHP, and right now I'm trying
I am trying to develop an UNO card game, and now I reach to
I am a newbie trying to develop some login panel. The problem now is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.